/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Module;

import Module.Resource;
import java.io.Serializable;

/**
 *
 * @author Vegard
 */
public class ResourceProject implements Serializable {
    Resource resource;
    String fromdate;
    String toDate;
    int projectId;

    public ResourceProject(Resource resource, String fromdate, String toDate, int projectId) {
        this.resource = resource;
        this.fromdate = fromdate;
        this.toDate = toDate;
        this.projectId = projectId;
    }

    public String getFromdate() {
        return fromdate;
    }

    public void setFromdate(String fromdate) {
        this.fromdate = fromdate;
    }

    public int getProjectId() {
        return projectId;
    }

    public void setProjectId(int projectId) {
        this.projectId = projectId;
    }

    public Resource getResource() {
        return resource;
    }

    public void setResource(Resource resource) {
        this.resource = resource;
    }

    public String getToDate() {
        return toDate;
    }

    public void setToDate(String toDate) {
        this.toDate = toDate;
    }

    

}
